package com.lg.order.producer.config;

import com.lg.order.producer.utils.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author by Mr. Li 2020/12/11 19:06
 */
@Configuration
public class IdWorkerConfig {
    @Bean
    public IdWorker idWorker() {
        return new IdWorker(1,1,1);
    }
}
